<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\User */

$this->title = 'Reset the password USERID: ' . $model->id;

?>
<div class="site-signup">
    <p>Please enter a new password</p>
    <div class="row">
        <div class="col-lg-5">
            <?php $form = ActiveForm::begin(['id' => 'form-signup']); ?>

            <?= $form->field($model, 'password_hash')->textInput(['value' => '','autofocus' => true]) ?>

            <div class="form-group">
                <?= Html::submitButton('Update', ['class' => 'btn btn-primary', 'name' => 'signup-button',
                    'data' => [
                    'confirm' => 'Are you sure you want to update this item?',
                ],]) ?>
            </div>

            <?php ActiveForm::end(); ?>
        </div>
    </div>
</div>
